import req from '@/api/http.js'

// 登录

export const login = params => req('post', '/wcgj/auth/login', params)

// 系统管理分页
export const systemList = params => req('get', '/wcgj/res-system/page', params)
// 系统管理新增
export const addSystemList = params => req('post', '/wcgj/res-system/save', params)
// 系统管理修改
export const EditSystemList = params => req('post', '/wcgj/res-system/update', params)
// 系统管理删除
export const bulkSystemDeletion = params => req('post', '/wcgj/res-system/remove', params)
// 系统管理查询
export const getSystemData = params => req('get', '/wcgj/res-system/page', params)


// 文件名管理分页
export const fileList = params => req('get', '/wcgj/res-file-name/page', params)
// 文件名管理新增
export const addFileList = params => req('post', '/wcgj/res-file-name/save', params)
// 文件名管理修改
export const fileEditList = params => req('post', '/wcgj/res-file-name/update', params)
// 文件名管理删除
export const bulkFileDeletion = params => req('post', '/wcgj/res-file-name/remove', params)
// 文件名管理查询
export const getFileData = params => req('get', '/wcgj/res-file-name/page', params)


// 标识管理分页
export const logoList = params => req('get', '/wcgj/res-identify/page', params)
// 标识管理新增
export const addLogoList = params => req('post', '/wcgj/res-identify/save', params)
// 标识管理修改
export const logoEditList = params => req('post', '/wcgj/res-identify/update', params)
// 标识管理删除
export const bulkLogoDeletion = params => req('post', '/wcgj/res-identify/remove', params)
// 标识管理查询
export const getLogoData = params => req('get', '/wcgj/res-identify/page', params)


// 接口管理分页
export const interfaceList = params => req('get', '/wcgj/interface-rules/page', params)
// 接口管理新增
export const addInterfaceList = params => req('post', '/wcgj/interface-rules/save', params)
// 接口管理修改
export const InterfaceEditList = params => req('post', '/wcgj/interface-rules/update', params)
// 接口管理删除
export const bulkInterfaceDeletion = params => req('post', '/wcgj/interface-rules/remove', params)
// 接口管理查询
export const getInterfaceData = params => req('get', '/wcgj/interface-rules/page', params)
// 接口管理详情
export const getInterfaceDetail = params => req('get', '/wcgj/res-system/detail', params)
export const getLogeDetail = params => req('get', '/wcgj/res-identify/detail', params)



// 接口数据帧管理分页
export const interfaceFrameList = params => req('get', '/wcgj/interface-rules/interfaceDataFrameInfoList', params)
// 接口数据帧管理新增
export const addInterfaceFrameList = params => req('post', '/wcgj/interface-data-frame/save', params)
// 接口数据帧管理修改
export const InterfaceFrameEditList = params => req('post', '/wcgj/interface-data-frame/update', params)
// 接口数据帧管理删除
export const bulkInterfaceFrameDeletion = params => req('post', '/wcgj/interface-data-frame/remove', params)
// 接口数据帧管理查询
export const getInterfaceFrameData = params => req('get', '/wcgj/interface-data-frame/page', params)

// // 接口数据文件管理分页
// export const interfaceFileList = params => req('get', '/wcgj/interface-data-file/page', params)
// // 接口数据文件管理新增
// export const addInterfaceFileList = params => req('post', '/wcgj/interface-data-file/save', params)
// // 接口数据文件管理修改
// export const InterfaceFileEditList = params => req('post', '/wcgj/interface-data-file/update', params)
// // 接口数据文件管理删除
// export const bulkInterfaceFileDeletion = params => req('post', '/wcgj/interface-data-file/remove', params)
// // 接口数据文件管理查询
// export const getInterfaceFileData = params => req('get', '/wcgj/interface-data-file/page', params)
// 接口数据文件管理
export const getlist = params => req('get', '/wcgj/interface-rules/interfaceDataFileInfo', params)
// 保存数据文件
export const addgetlist = params => req('get', '/wcgj/interface-rules/upLoadInterfaceDataFileInfo', params)


// 流程管理分页
export const processRulesList = params => req('get', '/wcgj/process-rules/page', params)
// 流程管理新增
export const addprocessRulesList = params => req('post', '/wcgj/process-rules/save', params)
// 流程管理修改
export const processRulesEditList = params => req('post', '/wcgj/process-rules/update', params)
// 流程管理删除
export const bulkprocessRulesDeletion = params => req('post', '/wcgj/process-rules/remove', params)
// 流程管理查询
export const getprocessRulesData = params => req('get', '/wcgj/process-rules/page', params)
// 流程管理详情
export const processRulesDetailList = params => req('get', '/wcgj/process-rules/detail', params)
// 流程管理详情添加
export const AddprocessList = params => req('post', '/wcgj/process-config/save', params)


// 接口用例管理分页
export const caseInterfaceList = params => req('get', '/wcgj/case-interface/page', params)
// 接口用例管理新增
export const caseAddInterfaceList = params => req('post', '/wcgj/case-interface/save', params)
// 接口用例管理修改
export const caseInterfaceEditList = params => req('post', '/wcgj/case-interface/update', params)
// 接口用例管理删除
export const caseBulkInterfaceDeletion = params => req('post', '/wcgj/case-interface/remove', params)
// 接口用例管理查询
export const caseGetInterfaceData = params => req('get', '/wcgj/case-interface/page', params)
// 接口用例管理详情
export const getInterfaceDataFrameDetail = params => req('get', '/wcgj/case-interface/detail', params)
// 接口数据帧用例管理修改
export const InterfaceDataFrameEditList = params => req('post', '/wcgj/case-interface-data-frame/update', params)
// 接口测试接口数据获取
export const getDataList = params => req('get', '/wcgj/case-interface/getOneCaseInterfaceInfo', params)
// 接口用例测试开始
export const startTest = params => req('get', '/wcgj/test-results/client', params)


// 流程用例管理分页
export const caseProcessList = params => req('get', '/wcgj/case-process/page', params)
// 流程用例管理新增
export const addcaseProcessList = params => req('post', '/wcgj/case-process/save', params)
// 流程用例管理修改
export const caseProcessEditList = params => req('post', '/wcgj/case-process/update', params)
// 流程用例管理删除
export const bulkcaseProcessDeletion = params => req('post', '/wcgj/case-process/remove', params)
// 流程用例管理查询
export const getcaseProcessData = params => req('get', '/wcgj/case-process/page', params)
// 流程用例管理详情
export const caseProcessDetail = params => req('get', '/wcgj/case-process/detail', params)


// 测试结果分页
export const TestList = params => req('get', '/wcgj/test-results/page', params)
// 测试结果查询
export const getTestData = params => req('get', '/wcgj/test-results/page', params)
// 测试结果修改
export const EditTestList = params => req('post', '/wcgj/test-results/update', params)
// 测试结果删除
export const bulkTestDeletion = params => req('post', '/wcgj/test-results/remove', params)


// 用户管理分页
export const UserList = params => req('get', '/wcgj/sys-user/page', params)
// 用户管理新增
export const addUserList = params => req('post', '/wcgj/sys-user/save', params)
// 用户管理修改
export const EditUserList = params => req('post', '/wcgj/sys-user/update', params)
// 用户管理删除
export const bulkUserDeletion = params => req('post', '/wcgj/sys-user/remove', params)
// 用户管理查询
// export const getUserData = params => req('get', '/wcgj/sys-user/page', params)


// 日志管理分页
export const LogList = params => req('get', '/wcgj/sys-log/page', params)
// 日志管理新增
export const addLogList = params => req('post', '/wcgj/sys-log/save', params)
// 日志管理修改
export const EditLogList = params => req('post', '/wcgj/sys-log/update', params)
// 日志管理删除
export const bulkLogDeletion = params => req('post', '/wcgj/sys-log/remove', params)
// 日志管理查询
export const getLogData = params => req('get', '/wcgj/sys-log/page', params)



